package com.one.mapper;

import com.one.pojo.LandRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LandRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(LandRecord record);

    int insertSelective(LandRecord record);

    LandRecord selectByPrimaryKey(String id);

    int countNum(@Param("userId")String userId,@Param("type")String type);

    List<LandRecord>  findByUserId(@Param("userId")String userId,@Param("type")String type,@Param("start")Integer start,@Param("PageSize") Integer PageSize);

    int updateByPrimaryKeySelective(LandRecord record);

    int updateByPrimaryKey(LandRecord record);
}